package com.hulk.dryad.persistence.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 生成记录
 *
 * @author kim
 * @date 2019-08-12 15:55:35
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_gen_form_conf")
public class GenFormConfModel extends SuperEntity<GenFormConfModel> {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 表名称
	 */
	private String tableName;

	/**
	 * 表单信息
	 */
	private String formInfo;

	@TableField(value = "created_time", fill = FieldFill.INSERT)
	private LocalDateTime createdTime;

	@TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updatedTime;

	/**
	 * 删除标记
	 */
	@TableLogic
	private String delFlag;

	/**
	 * 所属租户
	 */
	private String tenantId;

	@TableField("rsv1")
	private String rsv1;

}
